<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<title>IGNORED</title>
</h:head>

<h:body>

	<ui:composition template="/WEB-INF/templates/MainLayout.xhtml">
		<ui:define name="windowTitle">Actualizar Cita</ui:define>
		<ui:define name="content">
		
			<f:view contentType="text/html">
				<div style="margin-left: 5em; margin-top: 3em;">
					<h:form prependId="false">
						<h:panelGrid columns="2">
							<h:graphicImage value="/resources/gfx/iconos/terapeutas128.png"
								width="40px" height="40px" />
							<h:outputText value="Actualizar Cita"
								style="font-weight: bold; font-size: large;" />
						</h:panelGrid>

						<p:panel style="width:400px;">
							<h:panelGrid columns="2">
								<ui:include src="/cita/cita_form.xhtml" />						
							</h:panelGrid>
							<div align="right" style="width: 350px;">
								<p:commandButton value="Actualizar"	action="#{citaBean.update}" 
									ajax="false" />
							</div>
						</p:panel>
					</h:form>
				</div>
			</f:view>

		</ui:define>
	</ui:composition>
</h:body>
</html>
